<?php
namespace app\console\validate;

use think\Validate;

class IntegralGoods extends Validate
{
    protected $rule = [
        ['title', 'unique:integral_goods'],
    ];

    protected $message = [
        'title.unique'          => '积分商品名已存在',
    ];
}